/*
 * $Id: codetemplates.xml ver yyyy-mm-dd rb $
 */
package com.qy.util;

import java.sql.Connection;
import java.sql.DriverManager;

/**
 *
 *
 * @author ts-biao.zhang
 */
public class Constant {

    public static String VARCHAR_STRING = "VARCHAR";
    
    
    public static Connection getCon() throws Exception
    {
    	Class.forName("oracle.jdbc.driver.OracleDriver").newInstance(); 

    	String url="jdbc:oracle:thin:@119.161.210.49:1521:orcl";

    	String user="newplat"; 

    	String password="newplat"; 

    	Connection conn= DriverManager.getConnection(url,user,password);
    	return conn;
    }
}
